<?php $SS = new Zend_Session_Namespace ('Language');

$lang = $SS->language;

$langNews = "Tin tức";
if($lang == "en"){
$langNews = "News";  
}elseif($lang == "chi"){
$langNews = "新聞";  
}

$langNewsOther = "Những bài liên quan";
if($lang == "en"){
$langNewsOther = "Other news";  
}elseif($lang == "chi"){
$langNewsOther = "其他新聞";  
}

$langTitle = $this->data['title'];
if($lang == "en"){
$langTitle = $this->data['title_en'];  
}elseif($lang == "chi"){
$langTitle = $this->data['title_china']; 
}

$langDesc = $this->data['description'];
if($lang == "en"){
$langDesc = $this->data['description_en'];  
}elseif($lang == "chi"){
$langDesc = $this->data['description_china']; 
}

$langContent = $this->data['content'];
if($lang == "en"){
$langContent = $this->data['content_en'];  
}elseif($lang == "chi"){
$langContent = $this->data['content_china']; 
}
?>  

<div class="head-content"><?php echo $langTitle;?></div>
<div class="fix content-site">
    <p class="desciption" style="color: #666; font-weight: bold; padding-top:10px"><?php echo $langDesc;?></p>
    <?php echo $langContent;?>
</div>
<div class="line-content"></div>
<div class="other-news">
    <div class="head-content"><?php echo $langNewsOther;?></div>
    <?php foreach($this->otherData as $vl): 
    $langTitle2 = $vl['title'];
if($lang == "en"){
$langTitle2 = $vl['title_en'];  
}elseif($lang == "chi"){
$langTitle2 = $vl['title_china']; 
}
    ?>
    <div class="item"><span class="time"><?php echo date('d M y',strtotime($vl['created']));?> | </span> <a href="<?php echo "/tin-tuc/".$vl['id']."-".$this->cleanstring($lang == "en" ? $vl['title_en'] : $vl['title']).".html";?>" title="<?php echo $lang == "en" ? $vl['title_en'] : $vl['title'];?>"><?php echo $langTitle2;?></a></div>
    <?php endforeach;?>
</div>
